# $FreeBSD: head/devel/monodevelop-database/Makefile 363844 2014-08-03 00:05:14Z antoine $

PORTNAME=	monodevelop-database
PORTVERSION=	5.0.1
CATEGORIES=	devel
MASTER_SITES=	http://download.mono-project.com/sources/${PORTNAME}/
DISTNAME=	${PORTNAME}-${PORTVERSION}-0

MAINTAINER=	mono@FreeBSD.org
COMMENT=	MonoDevelop database support

LICENSE=	MIT

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/monodevelop.pc:${PORTSDIR}/devel/monodevelop

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE=	yes
USES=		gettext gmake pathfix pkgconfig tar:bzip2
USE_GNOME=	gtksharp20
MAKE_JOBS_UNSAFE=yes

post-patch:
	@${REINPLACE_CMD} -e 's|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g' \
		${WRKSRC}/Makefile.in

# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT=	limitw:1,even

.include <bsd.port.mk>
